//
//  PayTypeTableViewCell.swift
//  ZNZXSuperMarket
//
//  Created by 四川中农 on 2018/8/23.
//  Copyright © 2018年 四川中农. All rights reserved.
//

import UIKit

class PayTypeTableViewCell: UITableViewCell {
    @IBOutlet weak var imageV: UIImageView!
    @IBOutlet weak var nameLabel: UILabel!
    @IBOutlet weak var detailLabel: UILabel!
    
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }
    
    func updateViews(withImage image:String,title:String,detail:String){
        self.imageV.image = UIImage.init(named: image)
        self.nameLabel.text = title
        self.detailLabel.text = detail
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }

}
